package com.erlinyou.im.service.groupmove.impl;

import java.util.List;
import java.util.Map;
import java.util.Optional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.erlinyou.base.service.BaseServiceImpl;
import com.erlinyou.im.dao.repository.groupmove.OfcallcenteraffiliationRepository;
import com.erlinyou.im.model.groupmove.Ofcallcenteraffiliation;
import com.erlinyou.im.service.groupmove.OfcallcenteraffiliationServcie;

@Service
public class OfcallcenteraffiliationServcieImpl extends BaseServiceImpl<Ofcallcenteraffiliation, Long> implements OfcallcenteraffiliationServcie {

	@Autowired
	private OfcallcenteraffiliationRepository Repository;

	@Override
	public Optional<Ofcallcenteraffiliation> findById(Long id) {
		return Repository.findById(id);
	}

	@Override
	public List<Map<String, Object>> seleMember(long callcenterID) {
		return Repository.seleMember(callcenterID);
	}
}
